fix(psi4): honor requested input method#1006
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe Psi4 input template's ChangesPsi4 Method Fix
Estimated code review effort: 1 (Trivial) | ~3 minutes Related issues:
Suggested labels: bug, psi4 Suggested reviewers: njzjz 🐰 A hardcoded method, stuck like glue, 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merging this PR will not alter performance
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1006 +/- ##
=======================================
Coverage 86.87% 86.87%
=======================================
Files 89 89
Lines 8268 8268
=======================================
Hits 7183 7183
Misses 1085 1085 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
methodargument when writing Psi4gradient(...)calls instead of always writingWB97M-D3BJ.Fixes #992.
Verification
python -m pytest test_psi4.py -q(fromtests/):17 passed in 0.24spython -m ruff check dpdata/formats/psi4/input.py tests/test_psi4.py:All checks passed!write_psi4_input(..., method="hf", basis="sto-3g")emitsgradient("hf", return_wfn=True)and noWB97M-D3BJ.Summary by CodeRabbit